Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
Home | Book List | Contents | Index | Master Index | Feedback

# GetDelay Method

Applies To

OAQMsg

Description

Gets the number of seconds to delay this enqueued message.

Usage

int GetDelay(void) const throw(OException)

Arguments

none |

Remarks

Returns the number of seconds to delay the immediate consumption of the message. It is applicable only for a message that is enqueued.

This delay represents the seconds after which the message is available for dequeuing. Possible Values are:

- Any valid positive integer
- OAQ_MSG_NO_DELAY (Default) 0 seconds, message is immediately available.